package com.uas.model;

/**
 * created by shicr on 2017/11/19
 **/

public class Animal {

    private int id;

    private String name;

    private String type;

    public void say(){
        System.out.println("我的编号是"+this.id+"  我的名字是"+this.name+"  我的类型是"+this.type);
    }

    public Integer getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
